package com.choosefine.base.shixiaobao.common.def;

/**
 * Created by guwenwei on 2017/5/13 0013.
 */
public interface HWMethodNameDef {

    //--------------------------------------------------员工管理类命令--------------------------------------------------------//
    /**
     * 从考勤机接收说有员工的员工号
     */
    public final String METHOD_GETEMPLOYEEID = "GetEmployeeID";

    /**
     * 从考勤机接收指定工号员工的员工信息，一次只能接收一个
     * GetEmployee(id="120")
     */
    public final String METHOD_GETEMPLOYEE = "GetEmployee";

    /**
     * 发送员工到考勤机，一次只能发一个
     * SetEmployee(id="1009")
     */
    public final String METHOD_SETEMPLOYEE = "SetEmployee";

    /**
     * 从考勤机获取指定员工的登记大头照
     * GetEmployeePhoto(id="1212")
     */
    public final String METHOD_GETEMPLOYEEPHOTO = "GetEmployeePhoto";

    /**
     * 设置或更新执行员工的登记大头照
     */
    public final String METHOD_SETEMPLOYEEPHOTO = "SetEmployeePhoto";

    /**
     * 在考勤机上删除指定工号的员工。可一次删除一个员工
     */
    public final String METHOD_DELETEEMPLOYEE = "DeleteEmployee";

    /**
     * 在考勤机上删除所有员工
     */
    public final String METHOD_DELETEALLEMPLOYEE = "DeleteAllEmployee";

    /**
     * 更新考勤机上的“id-姓名”对照表
     */
    public final String METHOD_SETNAMETABLE = "SetNameTable";

    /**
     * 添加“id-姓名”对照表
     */
    public final String METHOD_ADDNAMETABLE = "AddNameTable";

    /**
     * 向考勤机发送开始登记的指令
     */
    public final String METHOD_ENROLLEMPLOYEE = "EnrollEmployee";

    /**
     * 检测设备是否包含员工数据
     */
    public final String METHOD_DETECTEMPLOYEEDATA = "DetectEmployeeData";

    /**
     * 发送短消息到考勤机
     */
    public final String METHOD_SETSMS = "SetSMS";

    /**
     * 从考勤机接收短消息
     */
    public final String METHOD_GETSMS = "GetSMS";

    /**
     * 删除考勤机中的短消息
     */
    public final String METHOD_DELETESMS = "DeleteSMS";

    //--------------------------------------------------管理员管理类--------------------------------------------------------//
    /**
     * 获得所有管理员ID
     */
    public final String METHOD_GETMANAGERID = "GetManagerID";

    /**
     * 根据管理员ID获得管理员信息
     */
    public final String METHOD_GETMANAGER = "GetManager";

    /**
     * 设置管理员信息
     */
    public final String METHOD_SETMANAGER = "SetManager";

    /**
     * 删除指定管理员
     */
    public final String METHOD_DELETEMANAGER = "DeleteManager";

    /**
     * 初始化考勤机的管理员设置到出厂状态
     */
    public final String METHOD_INITDEVICEADMIN = "InitDeviceAdmin";

    /**
     * 获得制定管理员的管理级别
     */
    public final String METHOD_GETMANAGERTYPE = "GetManagerType";

    /**
     * 设置制定管理员的管理级别
     */
    public final String METHOD_SETMANAGERTYPE = "SetManagerType";

    /**
     * 清空考勤机中的短消息
     */
    public final String METHOD_DELETEALLSMS = "DeleteAllSMS";

    //--------------------------------------记录管理类命令----------------------------------------------------------
    /**
     * 从考勤机接收所制定时间范围的考勤记录
     */
    public final String METHOD_GETRECORD = "GetRecord";

    /**
     * 删除考勤机上所有考勤记录
     */
    public final String METHOD_DELETEALLRECORD = "DeleteAllRecord";

    /**
     * 按照时间段删除考勤机上的记录
     */
    public final String METHOD_DELETERECORD = "DeleteRecord";

    /**
     * 删除已经上传到服务器的记录，未上传的不删除
     */
    public final String METHOD_DELETEUPLOADEDRECORD = "DeleteUploadedRecord";

    //----------------------------------------------设备管理类基础命令------------------------------------------
    /**
     * 初始化考勤机到出厂状态
     */
    public final String METHOD_INITDEVICE = "InitDevice";

    /**
     * 获得mac地址和序列号
     */
    public final String METHOD_GETMAC_SN = "GetMAC_SN";

    /**
     * 检测设备是否存在
     */
    public final String METHOD_DETECTDEVICE = "DetectDevice";

    /**
     * 重启设备
     */
    public final String METHOD_RESTARTDEVICE = "RestartDevice";

    /**
     * 读取考勤机配置、状态信息
     */
    public final String METHOD_GETDEVICEINFO = "GetDeviceInfo";

    /**
     * 设置考勤机配置、状态信息
     */
    public final String METHOD_SETDEVICEINFO = "SetDeviceInfo";

    /**
     *获得设备音量
     */
    public final String METHOD_GETVOLUME = "GetVolume";

    /**
     *设置设备音量
     */
    public final String METHOD_SETVOLUME = "SetVolume";

    /**
     *获得设备日期
     */
    public final String METHOD_GETDATETIME = "GetDateTime";

    /**
     *设置设备日期
     */
    public final String METHOD_SETDATETIME = "SetDateTime";

    /**
     *固件升级
     */
    public final String METHOD_UPDATEFIRMWARE = "UpdateFirmware";

    /**
     * 获得夏令时
     */
    public final String METHOD_GETDAYLIGHT = "GetDayLight";

    /**
     * 设置夏令时
     */
    public final String METHOD_SETDAYLIGHT = "SetDayLight";

    /**
     * 获取设备容量
     */
    public final String METHOD_GETDEVICECAPACITY = "GetDeviceCapacity";

    /**
     * 获取设备的型号类型
     */
    public final String METHOD_GETDEVICEMODE = "GetDeviceMode";

    //----------------------------------------设备管理类通讯命令----------------------------------------------
    /**
     * 获得网络参数
     */
    public final String METHOD_GETNETINFO = "GetNetInfo";

    /**
     * 设定网络参数
     */
    public final String METHOD_SETNETINFO = "SetNetInfo";



}
